package com.hoas.quickstart.threads.chapter01.chapter01_7_1;

public class Run {

    public static void main(String[] args) {

        try {
            MyThread thread = new MyThread();
            thread.start();
            Thread.sleep(1000);
            thread.interrupt();
        } catch (InterruptedException e) {
            System.out.printf("main catch");
            e.printStackTrace();
        }

    }

}
